<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%
	String username = (String) session.getAttribute("username");//获取对象的用户名
	if (username == null) {
		response.sendRedirect("login.jsp");
	}
	String studentMainPage = (String) request.getAttribute("studentMainPage");
	if (studentMainPage == null || studentMainPage.equals("")) {
		studentMainPage = "tips.jsp";
	}
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>同行互评系统</title>
<link
	href="${pageContext.request.contextPath}/bootstrap/css/bootstrap.css"
	rel="stylesheet">
<link href="${pageContext.request.contextPath}/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <link href="${pageContext.request.contextPath}/mycss/index.css" rel="stylesheet" type="text/css" />
<script src="${pageContext.request.contextPath}/js/jQuery.js"></script>
<script src="${pageContext.request.contextPath}/js/index.js"></script>
<script type="text/javascript">
	function logoutcheck() {
		if (confirm("您确定要退出吗?")) {
			window.location.href = "logout.jsp"
		}
	}
</script>
<style type="text/css">
body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	font: 16px/20px microsft yahei;
	background: linear-gradient(to bottom, rgba(255,255,255,0.15) 0%, rgba(0,0,0,0.15) 100%), radial-gradient(at top center, rgba(255,255,255,0.40) 0%, rgba(0,0,0,0.40) 120%) #989898; 
	background-blend-mode: multiply,multiply;
	
}
</style>
</head>
<body>
	<div class="container">
		<jsp:include page="studentHead.jsp"></jsp:include>
		<jsp:include page="<%=studentMainPage%>"></jsp:include>
		<!-- 	        跳转功能，studentMainPage存放的是界面名字。 -->

	</div>
</body>
</html>